//
//  BigImageViewController.m
//  JackToolsBox
//
//  Created by Jack Xue on 2019/12/3.
//  Copyright © 2019 Jack Xue. All rights reserved.
//

#import "BigImageViewController.h"
#import "BigImageView.h"
#import "JKWebImage.h"
#import <SDWebImage/SDWebImage.h>

@interface BigImageViewController ()
@end

@implementation BigImageViewController
-(void)loadView{
    [super loadView];
    BigImageView *view = [[BigImageView alloc]initWithFrame:self.view.bounds];
    self.view = view;
    view = nil;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    NSArray *dataArray = @[@"https://hbimg.huabanimg.com/d42beed80fb58a3b26b6ef75939688396d5a485e7293f-yQc9el_fw658",@"https://hbimg.huabanimg.com/589092365fb1b034cc0eaa538f9c20a6a1dffa8bab075-DONiYo_fw658",@"https://hbimg.huabanimg.com/c0613b941a3451fd82d8d44263b66840270b26cca2766-dn9fv0_fw658",@"https://hbimg.huabanimg.com/5a32e3b2169f84655108785f8916fe03fb6b1920aefda-VMGkID_fw658",@"https://hbimg.huabanimg.com/800dfefb4d1f88d1ccc6e882f16c0db795dcb6f61761c1-FcnRuc_fw658",@"https://hbimg.huabanimg.com/3b59549bdc356577dce0d5650800e17d02b088ce7c75b-Cbpi4b_fw658",@"https://hbimg.huabanimg.com/2b2c3267c10846a42308a8bd4ece9c84b334e579c613d-iIcnz8_fw658",@"https://hbimg.huabanimg.com/1242c6ef01adc83f713dd9c7caf85641e1ed507f5dbc3-aAilFm_fw658",@"https://hbimg.huabanimg.com/581ef1d067c27bb23c42264b3ebd88b8c06b204ac684a-YIXnSY_fw658",@"https://hbimg.huabanimg.com/2164e0c384538c854e9a335846599b2130ffb48da0a1e-YuWmWB_fw658"];
    if ([self.view isKindOfClass:[BigImageView class]]) {
        BigImageView *view = (BigImageView*)self.view;
        view.dataArray = dataArray;
    }
}

-(void)dealloc{
    NSLog(@"tableview页面释放");
}



@end
